package com.ruoyi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@ComponentScan(basePackages = {"com.ruoyi","com.xiaomiMall"})
public class RuoYiApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
        System.out.println(" (♥◠‿◠)ﾉﾞ  小米启动成功   ლ(´ڡ`ლ)ﾞ  \\n\" + .----------------.  .----------------.  .----------------. \n" +
                "| .--------------. || .--------------. || .--------------. |\n" +
                "| | _____  _____ | || |     ______   | || |   ______     | |\n" +
                "| ||_   _||_   _|| || |   .' ___  |  | || |  |_   _ \\    | |\n" +
                "| |  | | /\\ | |  | || |  / .'   \\_|  | || |    | |_) |   | |\n" +
                "| |  | |/  \\| |  | || |  | |         | || |    |  __'.   | |\n" +
                "| |  |   /\\   |  | || |  \\ `.___.'\\  | || |   _| |__) |  | |\n" +
                "| |  |__/  \\__|  | || |   `._____.'  | || |  |_______/   | |\n" +
                "| |              | || |              | || |              | |\n" +
                "| '--------------' || '--------------' || '--------------' |\n" +
                " '----------------'  '----------------'  '----------------'");
    }
}
